package com.wechat.android.app.rxbus.event;

/**
 * Created by hep on 2017/12/4 0010.
 */

public class CommonEvent {
    private String msg;
    private int position;
    private boolean isCollect;
    private String type;
    private int storeId;


    public CommonEvent(String msg) {
        this.msg = msg;
    }
    public CommonEvent(int position) {
        this.position = position;
    }

    public CommonEvent(String type,int position, boolean isCollect) {
        this.type = type;
        this.position = position;
        this.isCollect = isCollect;
    }
    public CommonEvent(String type,int storeId) {
        this.type = type;
        this.storeId = storeId;
    }

    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public boolean isCollect() {
        return isCollect;
    }

    public void setCollect(boolean collect) {
        isCollect = collect;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
